package MultiPong;

import java.awt.BorderLayout;
import java.awt.Dimension;
import javax.swing.JFrame;
import javax.swing.JPanel;

public class MultiPongTestApp extends JFrame {
	private static final long serialVersionUID = 1L;
	private MultiPongTest multiPongTest = MultiPongTest.getInstance();
	private HoofdPaneel hoofdPaneel = HoofdPaneel.getInstance();

	public MultiPongTestApp() {
		JPanel paneel = new JPanel(new BorderLayout());
		this.multiPongTest.setVisible(true);
		paneel.add(this.multiPongTest, BorderLayout.WEST);
		paneel.add(this.hoofdPaneel, BorderLayout.CENTER);
		paneel.setVisible(true);
		this.setContentPane(paneel);
		this.pack();
		this.setResizable(false);
		this.setLocationRelativeTo(null);
		this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		this.setTitle("MultiPongTest");
		this.setSize(new Dimension(1100, 829));
		this.setVisible(true);

	}
}